package cn.zch.cmbchina.util.cmb;
import cn.zch.cmbchina.model.ReqDoBusinessDataModel;
import cn.zch.cmbchina.model.ReqTestDataModel;
import cn.zch.demo2.CmbConfig;
import cn.zch.demo2.CmbUtil;
public class ReqDataModelUtil {
  /**
   * getReqTestDataModel
   */
  public static ReqTestDataModel getReqTestDataModel() {
    ReqTestDataModel reqTestDataModel = new ReqTestDataModel();
    reqTestDataModel.setDateTime(CmbUtil.getCurrentTime());
    reqTestDataModel.setNoticeUrl("https://www");
    reqTestDataModel.setHttpMethod("POST");
    // reqTestDataModel.setBranchNo("0755");
    reqTestDataModel.setBranchNo(CmbConfig.branchNo);
    // reqTestDataModel.setMerchantNo("002346")
    reqTestDataModel.setMerchantNo(CmbConfig.merchentNo);
    reqTestDataModel.setNoticeType("BKPAY");
    reqTestDataModel.setNoticeSerialNo("201606238888888");
    reqTestDataModel.setParam1("aaa");
    reqTestDataModel.setParam2("bbb");
    return reqTestDataModel;
  }
  /**
   * 查询商户公钥 API model
   * @return ReqDoBusinessDataModel
   */
  public static ReqDoBusinessDataModel getReqDoBusinessDataModel() {
    ReqDoBusinessDataModel reqDoBusinessDataModel = new ReqDoBusinessDataModel();
    reqDoBusinessDataModel.setDateTime(CmbUtil.getCurrentTime());
    reqDoBusinessDataModel.setBranchNo("0755");
    // reqDoBusinessDataModel.setBranchNo(CmbConfig.branchNo);
    reqDoBusinessDataModel.setMerchantNo("002346");
    // reqDoBusinessDataModel.setMerchantNo(CmbConfig.merchentNo);
    reqDoBusinessDataModel.setTxCode("FBPK");
    return reqDoBusinessDataModel;
  }
}
